package com.liu.sunnyday.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.liu.sunnyday.dao.UserDao;
import com.liu.sunnyday.pojo.User;
import com.liu.sunnyday.service.OrderService;
import com.liu.sunnyday.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * chance！Time
 *
 * @author liuqian
 * @date 2022-07-06 16:15
 * *
 */
@Service(interfaceClass = UserService.class)
public class UserServiceimpl implements UserService {
    @Autowired
   private UserDao userDao;


    @Override
    public User findByUsername(String username) {
        return userDao.findByUsername(username);
    }
}
